package com.dongan.service;

import com.dongan.pojo.MenuRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author longTao
 * @since 2021-06-15
 */
public interface MenuRoleService extends IService<MenuRole> {

    /**
     * 根据id查询
     * @param id
     * @return
     */
    public List<Long> queryMenuBasedOnRoleId(Long id);

    /**
     * 菜单分配
     * @param id
     * @param arr
     */
    public void menuDistribution(Long id,Long[] arr);
}
